<!-- 
* 占卜类型选择页面 
* 2019年5月16日17:06:10
* penglei
* -->
<template>
    <view class="content">
		<mbtn class="outer_btn" @click='start'/>
    </view>
</template>

<script>
    // import {
    //     mapState
    // } from 'vuex'
	import mbtn from "@/components/m-btn/m-btn.vue"
	import util from "../../static/js/util.js"
	import comm from '../../common/helpers.js'
    export default {
		components:{mbtn},
		data(){
			return{
			}
		},
        onLoad() {
			util.getSystemInfo()
			comm.login()
			uni.setStorageSync('openid',uni.getStorageSync('globalData').data.openid)
        },
		onShow() {
			uni.setStorageSync('m23lock',0)
			uni.setStorageSync('m32lock',0)
			uni.setStorageSync('m33lock',0)
		},
		methods:{
			start(e){
				util.navTo('/pages/divine/main_star?tid='+e)
			}
		}
    }
</script>

<style lang="scss">
	.content{
		padding: 0upx;
		background-image: url("https://zhanbu.nomeis.cn/upload/page_resource/bg_not_kapai.jpg");
		background-size: 100% 100%;
		
		
		image{
			width: 100%;
			height: 100%;
			vertical-align: bottom;
			bottom: 0;
			right: 0;
			position:absolute;
			vertical-align: middle;
		}
		
		.outer_btn{
			height: 100%;
			justify-content:center;
			align-items:center;
			display:flex;
		}
	}
</style>
